﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="LoguerMenage.aspx.cs" Inherits="WebApplication1.LoguerMenage" %>


<asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent">
</asp:Content>
<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">
<h2>
Se loguer
</h2>
<br/>
    
    <table>
        <!-- Login -->
        <tr> 
            <td><asp:Label ID="lblLogin" runat="server" Text="Login:"></asp:Label></td>
            <td><asp:TextBox ID="txtLogin" runat="server" ></asp:TextBox></td> 
            <td>
            <asp:RequiredFieldValidator ID="RequiredName" runat="server" ControlToValidate="txtLogin"
            ErrorMessage="Le nom de l'utilisateur est vide"
            setFocusOnerror="true">Le nom de l'utilisateur doit être complété *
            </asp:RequiredFieldValidator>
            </td>
            <td><asp:Label ID="LblUserNonExist" runat="server" Text=""></asp:Label></td>
        </tr>

        <!-- Password -->
        <tr> 
            <td><asp:Label ID="LlbPassword" runat="server" Text="Mot de passe:"></asp:Label></td>
            <td><asp:TextBox ID="txtPassword" runat="server"></asp:TextBox></td> 
            <td>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtPassword"
            ErrorMessage="Le mot de passe est vide"
            setFocusOnerror="true">Le mot de passe doit être complété *
            </asp:RequiredFieldValidator> 
            </td>
            <td><asp:Label ID="LblPasswordWrong" runat="server" Text="" ></asp:Label></td>
        </tr>
       
        <tr>
        <td></td>
         <td>
            <asp:Button ID="btnValider" runat="server" Text="Valider" 
                 onclick="btnValider_Click" />
        </td>
        </tr>

    </table>
</asp:Content>